import React, { Component } from 'react';
import './body.css';
import { Divider } from 'antd';
import {RoomDetail,RoomDetailRecomend} from './RoomDetail'
import roomImg from '../../image/room.jpg'
class BodyIndex extends Component {
    render() {
        return (
            <div className="body">
                    <Divider orientation="left" style={{margin:'0px'}}>店主推荐</Divider>
                    <RoomDetailRecomend img={roomImg} likeCount={100} address="百货中心" price="100" more="好"
                                        recomendText={"此房很好，客户好评不断！"}/>
                    <RoomDetailRecomend img={roomImg} likeCount={100} address="百货中心" price="100" more="好"
                                    recomendText={"此房很好，客户好评不断！"}/>
                    <Divider orientation="left" style={{margin:'0px'}}>热门</Divider>
                    <RoomDetail img={roomImg} likeCount={100} address="百货中心" price="100" more="好"/>
                    <RoomDetail img={roomImg} likeCount={100} address="百货中心" price="100" more="好"/>
                    <RoomDetail img={roomImg} likeCount={100} address="百货中心" price="100" more="好"/>
            </div>
        );
    }
}

export default BodyIndex;
